package com.example.demo.config.cos;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author :xie
 * Email: 1487471733@qq.com
 * Date: 2018/2/8
 * Time: 22:45
 * Describe:
 */
@ConfigurationProperties(prefix = "qiniu")
@Component
public class qiniuCosConfigProperties implements java.io.Serializable  {

    private static final long serialVersionUID = 1L;

    private String bucket;

    private String accessKey;

    private String secretKey;

    private String region;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }
}
